package vip.geeker.iotms.persistance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import vip.geeker.iotms.dto.UserDto;
import vip.geeker.iotms.persistance.model.User;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {


    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<UserDto> getUserList(User record);

    UserDto getUser(User record);
}
